/*
 * CollisionReader.h
 *
 *  Created on: 2009/02/05
 *      Author: Yongshik Cho
 */

#ifndef COLLISIONREADER_H_
#define COLLISIONREADER_H_

#include "../core/Prerequisites.h"
#include "../active/Collidable.h"
#include <tinyxml.h>


class CollisionReader
{
public:
	static const std::string _NAME_TAG;
	static const std::string _TYPE_TAG;
	static const std::string _CLOSED_TAG;
	static const std::string _POSITION_TAG;
	static const std::string _ROTATION_TAG;
	static const std::string _SCALE_TAG;
	static const std::string _POINT_TAG;
	static const std::string _LINE_TAG;
	static const std::string _QUADRATIC_TAG;
	static const std::string _CUBIC_TAG;
	static const std::string _TRUE_TAG;
	static const std::string _FALSE_TAG;
	static const std::string _ANGLE_TAG;
	static const std::string _X_TAG;
	static const std::string _Y_TAG;

public:
	static Collidable* parse(TiXmlElement* element);
};

#endif /* COLLISIONREADER_H_ */
